close all;

reg = 4;

figure;
method = 2;
temp = out{method, reg}.obj - min(out{method, reg}.obj) + 1e-2;
semilogy(out{method, reg}.Time, temp)
hold on;

method = 1;
temp = out{method, reg}.obj - min(out{method, reg}.obj) + 1e-2;
semilogy(out{method, reg}.Time, temp)


xlabel('time (seconds)');
ylabel('objective minus best');
legend('GIST', 'NOCOL')

figure;
method = 2;
plot(out{method, reg}.Time, out{method, reg}.PSNR)
hold on;

method = 1;
plot(out{method, reg}.Time, out{method, reg}.PSNR)

xlabel('time (seconds)');
ylabel('PSNR');
legend('GIST', 'NOCOL')

